package com.jin.spirng_boot_learn.untils;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@ComponentScan(value = "com.jin",
includeFilters = {@ComponentScan.Filter(type= FilterType.ANNOTATION,
classes = {RestController.class})},useDefaultFilters = false)
@EnableWebMvc
public class AppConfig implements WebMvcConfigurer {
}
